package com.spzx.payment.domain;

import com.spzx.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PaymentInfo extends BaseEntity {
    private Long userId;
    private String orderNo;
    @Schema(description = "支付渠道： 1-微信 2-支付宝")
    private Integer payType;
    @Schema(description = "支付宝/微信的交易流水号")
    private String tradeNo;
    private BigDecimal amount;
    private String content;
    @Schema(description = "支付状态：0-未支付 1-已支付 -1-关闭  -2-取消   -3-回调异常")
    private String paymentStatus;

    private Date callbackTime;
    private String callbackContent;

}
